package com.mall.ware.feign;

import com.mall.common.dto.OrderDTO;
import com.mall.common.utils.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: 谢君臣
 * @Date: 2022/8/11-17:07
 * @version: 1.0
 * @function:
 */
@FeignClient("orderServer")
public interface OrderFeignClient {

    @GetMapping("order/order/sn/{orderSn}")
    @ApiOperation("信息")
    Result<Object> getByOrderSn(@PathVariable("orderSn") String orderSn);
}
